package com.upic.service;

import com.upic.po.jurisdiction.RoleResource;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface RoleResourceService {
    RoleResource saveRoleResource(RoleResource roleResource);

    String deleteRoleResource(long roleResourceId);

    Page<RoleResource> searchRoleResource(Pageable pageable);

    List<RoleResource> searchRoleResource();

    RoleResource findOne(long roleResourceId);

    RoleResource updateRoleResource(RoleResource roleResource);
}
